package com.atjinggu.jinggumail.ware.feign;

import com.atjinggu.jinggumail.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author jingming
 * @Type OrderFeignService.java
 * @Desc
 * @date 2021/3/17 11:07
 */
@FeignClient("jinggumail-order")
public interface OrderFeignService {
    @GetMapping("order/order/status/{orderSn}")
     R getOrderByOrderSn(@PathVariable("orderSn")String orderSn);
}
